package com.usfuture.chart.techanly
{
	

	public class TechPropertyFactory
	{
		
		public static function createTechProperty(data:Array):AbstractTechProperty{
			
			if(data.length * (10 + 10*0.4) > AbstractTechProperty.canvasWidth)
				return new TechPropertyMode1(data);
			else
				return new TechPropertyMode2(data);
		}
		
	}
}